<%@ page pageEncoding='UTF-8'%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:set var="contextPath" value="#request.get('javax.servlet.forward.context_path')" scope="request" />

<div id="drugissue-menu-container" class="menu-container">
	<h1 class="fg-orange place-left">
		<i class="icon-file"></i>      
		Drug Issue
		<small class="on-left-more ${(mode == 'list') ? 'opt1-4' : ''}">
			<s:if test="%{#mode == 'details' || #mode == 'list'}">
				details
			</s:if>
			<s:else>
				<a href="${contextPath}/drugissue/show?prescriptionId=${guiPrescription.prescriptionId}">details</a>
			</s:else>
		</small>
		<small class="on-left-more ${(mode == 'list') ? 'opt1-4' : ''}">
			<s:if test="%{#mode == 'edit' || #mode == 'list'}">
				edit
			</s:if>
			<s:else>
				<a href="${contextPath}/drugissue/edit?prescriptionId=${guiPrescription.prescriptionId}">edit</a>
			</s:else>
		</small>
		<small class="on-left-more">
			<s:if test="%{#mode == 'list'}">
				list
			</s:if>
			<s:else>
				<a href="${contextPath}/drugissue/list">list</a>
			</s:else>
		</small>
	</h1>
    <br clear="all"/>
</div>